local args = {...}

local onTicks = table.remove(args, 1) or 10
local offTicks = table.remove(args, 1) or 10

local sides = redstone.getSides()

while true do
    for n = 1, #sides do
        redstone.setOutput(sides[n], true)
    end

    sleep(0.05 * onTicks)

    for n = 1, #sides do
        redstone.setOutput(sides[n], false)
    end

    sleep(0.05 * offTicks)
end
